home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / u_man / cat3 / Tcl / break.z / break
Encoding:
Text File  |  1998-10-30  |  1.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4. bbbbrrrreeeeaaaakkkk((((3333TTTTccccllll))))                                                        bbbbrrrreeeeaaaakkkk((((3333TTTTccccllll))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      break - Abort looping command
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      bbbbrrrreeeeaaaakkkk
  13.  
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      This command is typically invoked inside the body of a looping command
  17.      such as ffffoooorrrr or ffffoooorrrreeeeaaaacccchhhh or wwwwhhhhiiiilllleeee.  It returns a TCL_BREAK code, which
  18.      causes a break exception to occur.  The exception causes the current
  19.      script to be aborted out to the the innermost containing loop command,
  20.      which then aborts its execution and returns normally.  Break exceptions
  21.      are also handled in a few other situations, such as the ccccaaaattttcccchhhh command, Tk
  22.      event bindings, and the outermost scripts of procedure bodies.
  23.  
  24.  
  25. KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  26.      abort, break, loop
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.